{"version":3,"file":"font_action.map.js","names":["BX","namespace","Landing","UI","Button","FontAction","id","options","EditorAction","apply","this","arguments","layout","classList","add","content","create","props","className","fontSize","Field","Range","title","Loc","getMessage","items","Array","length","map","item","index","value","name","jsDD","top","window","property","onDragStart","bind","onDragEnd","onChange","instances","push","hideAll","forEach","button","popup","close","prototype","constructor","__proto__","popupContainer","remove","postfix","selection","contextDocument","defaultView","getSelection","range","getRangeAt","editable","Panel","EditorPanel","getInstance","currentElement","contains","startContainer","toString","execCommand","wrapper","parentNode","style","onClick","event","preventDefault","stopPropagation","createPopup","addEventListener","onPopupClick","contentContainer","appendChild","isShown","show","position","isFixed","adjustPosition","ColorAction","size","parseInt","getComputedStyle","getPropertyValue","setValue","DOM","read","popupRect","getBoundingClientRect","parentRect","offsetLeft","Math","abs","width","left","buttonRect","bottom","buttonPos","pos","write","prop","PopupWindow","autoHide","closeByEsc","noAllPaddings","zIndex"],"sources":["font_action.js"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,wBAabD,GAAGE,QAAQC,GAAGC,OAAOC,WAAa,SAASC,EAAIC,GAE9CP,GAAGE,QAAQC,GAAGC,OAAOI,aAAaC,MAAMC,KAAMC,WAC9CD,KAAKE,OAAOC,UAAUC,IAAI,wCAC1BJ,KAAKK,QAAUf,GAAGgB,OAAO,MAAO,CAACC,MAAO,CAACC,UAAW,wDACpDR,KAAKS,SAAW,IAAInB,GAAGE,QAAQC,GAAGiB,MAAMC,MAAM,CAC7CC,MAAOtB,GAAGE,QAAQqB,IAAIC,WAAW,uCACjCC,MAAOC,MAAMjB,MAAM,KAAM,CAACkB,OAAQ,MAAMC,KAAI,SAASC,EAAMC,GAC1D,MAAO,CAACC,MAAOD,EAAOE,KAAMF,EAC7B,IACAG,KAAMC,IAAIC,OAAOF,KACjBG,SAAU,YACVC,YAAa3B,KAAK2B,YAAYC,KAAK5B,MACnC6B,UAAW7B,KAAK6B,UAAUD,KAAK5B,MAC/B8B,SAAU9B,KAAK8B,SAAS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